#ifndef cathlibcpp_typeinfo_H
#define cathlibcpp_typeinfo_H

// File:       typeinfo.h
// Author:     (c) Miles Sabin, 1996
// Purpose:    fake RTTI for Acorn CFront
//             see ptypeinfo.h for declaration of class typeinfo


#ifndef cathlibcpp_config_H
#include "config.h"
#endif

#ifndef cathlibcpp_exception_H
#include "exception.h"             // for exception
#endif

#ifndef cathlibcpp_ptypeinfo_H
#include "ptypeinfo.h"             // for typeinfo and scaffolding
#endif


class bad_cast : public exception
{
  public:

    bad_cast();
    ~bad_cast();

    char const* what() const;

    RTTI_SCAFFOLDING_DECL
};

class bad_typeid : public exception
{
  public:

    bad_typeid();
    ~bad_typeid();

    char const* what() const;

    RTTI_SCAFFOLDING_DECL
};

#endif
